package cn.jinjimi.domain.data.dto;

import com.google.gson.annotations.SerializedName;

/**
 *
 * @author zhenhua
 * @date 2018/1/27
 */

public class TokenDto {
    /**
     * when error
     */
    public int code;
    /**
     * when error
     */
    public String message;

    /**
     * when with user info
     */
    public int uid;
    public String mobile;
    public String nickename;

    @SerializedName(value = "token", alternate = "accessToken")
    public String token;

    @SerializedName(value = "expire", alternate = "expireTime")
    public long expire;
}
